home *** CD-ROM | disk | FTP | other *** search
/ NOVA - For the NeXT Workstation / NOVA - For the NeXT Workstation.iso / Documents / NeXTAnswers / hardware.185 < prev    next >
Text File  |  1992-02-06  |  2KB  |  51 lines

  1. read recover failed optical disk bad block hardware uncorrectable ecc error
  2.  
  3. Q:  I cannot read or boot my optical disk anymore.   In the console I see a series of READ RECOVER messages followed by a READ FAILED message.
  4.  
  5. Q:  I have a bad spot on my optical disk.  I tried rewriting over it, then tried erasing the whole disk, but I get an I/O error always at the same spot.  Is there a way to mark the bad spot?
  6.  
  7. A:  A sudden power off or interrupt can cause the erasure of a half track on the OD.  One of the symptoms is a series of READ RECOVER messages followed by a READ FAILED message.  It might look like:
  8.  
  9. od0a: read recover (ECC) block 160120 phys block 161992 (14273:0:8)
  10.  
  11. This means that the read was to logical block 160120, physical block 161992, track 14273 of drive 0, at sector 8.
  12.  
  13. The only way to recover is to rewrite the sector, which may or may not be difficult, depending on which file (if any) the sector is located in.  Try this procedure.
  14.  
  15. Fixing an optical with "Uncorrectable ECC" errors
  16.  
  17. 1.  Go to a machine which is not booted off of optical
  18. 2.  Insert the optical.
  19. 3.  Become root
  20. 4.  Attempt to fsck the a partition of the disk.
  21. 5.  Carefully record the physical address of the bad block
  22. 6.  Run the disk program on the device /dev/rod0a
  23. 7.  Run the command "abort" in disk to turn of abort on error
  24. 8.  Run the "read" command on the physical sector
  25.     a.  enter the physical block number
  26.     b. enter 1 for the number of sectors per transfer
  27.     c. enter 8 for the number of transfers
  28.     d. enter 1 for the sector increment
  29.     e.  record the number of bad sectors
  30. 9.  Run the "write" command on the physical sector
  31.     a. enter the physical block number for starting block
  32.     b. enter 1 for the number of  sectors per transfer
  33.     c. enter the number of bad sectors from step "e" above for the number of sectors to transfer
  34.     d. enter 1 for the sector increment
  35.     e. enter 0 for the random data
  36. 10. Repeat step 8 above; you should receive no error
  37. 11.  Rerun fsck on the a partition
  38.     a.  it may be necessary to run with an alternate super-block
  39.     b.  use -b 16 for this case (additional backups are in NextAnswers, os.293)
  40.     c.  repeat fsck until no errors occur
  41. 12. Mount and examine the file system to confirm that it is still intact
  42.  
  43. Note also the 2.0 disk command for repairing bad ODs.
  44.  
  45. QA185
  46.  
  47. Valid for 1.0
  48. Valid for 2.0
  49.  
  50.  
  51.